﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Globsite.Globalization.Mvc.DbResources.Repositories;

namespace Mvc.Tests.DbResources.Repositories
{
    [TestClass]
    public class SqlServerRepositoryTests
    {
        [TestMethod]
        public void GetAllResourceKeys_Success()
        {
            // Arrange
            var factory = new RepositoryFactory();
            var repository = factory.CreateRepository();

            // Act
            var result = repository.GetAllResourceKeys();

            // Assert
            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);
        }
    }
}
